<template>
	<h1>登录界面</h1>
	{{$route.query}}
	{{$route.query.username}}
</template>

<script setup>
	//vue vue-router
	import { useRoute } from 'vue-router'

	//初始化钩子函数
	let route = useRoute()

	//获取query的参数信息
	console.log(route.query)


</script>